//
//  UIView+Animation.h
//  Animate
//
//  Created by pg on 16/5/6.
//  Copyright © 2016年 person. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Animation)

@property (nonatomic, strong) NSMutableArray *layers;

/**
 *  缩放 变淡 动画
 *
 *  @param scaleFrom   <#scaleFrom description#>
 *  @param scaleTo     <#scaleTo description#>
 *  @param opacityFrom <#opacityFrom description#>
 *  @param opacityTo   <#opacityTo description#>
 *  @param duration    <#duration description#>
 *  @param invert      <#invert description#>
 */
-(void)animationScaleFrom:(CGFloat)scaleFrom
                       to:(CGFloat)scaleTo
              opacityFrom:(CGFloat)opacityFrom
                       to:(CGFloat)opacityTo
                durantion:(double)duration
               timeInvert:(CGFloat)invert;

-(void)removeAnimate;
@end
